package com.glSto.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class GoodsIssueRequestDTO {
    @JsonProperty("IM_MESSAGE")
    private ImMessage IM_MESSAGE;
    @JsonProperty("IT_DATA")
    private List<ItData> IT_DATA;

    @Data
    public static class ImMessage {
        @JsonProperty("IM_GUID")
        private String IM_GUID;

        @JsonProperty("SEND_TIME")
        private String SEND_TIME;

        @JsonProperty("SENDER")
        private String SENDER;

        @JsonProperty("SEND_CFID")
        private String SEND_CFID;

        @JsonProperty("RECEIVER")
        private String RECEIVER;

        @JsonProperty("RECEIVE_IFID")
        private String RECEIVE_IFID;

        @JsonProperty("RECEIVE_METHOD")
        private String RECEIVE_METHOD;

        @JsonProperty("SEND_SYSTEM_ID")
        private String SEND_SYSTEM_ID;

        @JsonProperty("PROXY_ID")
        private String PROXY_ID;

        @JsonProperty("MANDT")
        private String MANDT;

        @JsonProperty("SEND_OPERATOR")
        private String SEND_OPERATOR;

        @JsonProperty("SPRAS")
        private String SPRAS;
    }

    @Data
    public static class ItData {
        @JsonProperty("AUFNR")
        private String AUFNR;

        @JsonProperty("MATNR")
        private String MATNR;
    }
}